#define _CRT_SECURE_NO_WARNINGS
#include "List.h"
TestLTNode()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPushFront(plist, 5);
	LTPopBack(plist);
	LTPopFront(plist);
	LTPrint(plist);  
	LTNode* pos = LTFind(plist, 3);
	if (pos)
	{
		LTInsert(pos, 30);
	}
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}  
int main()
{
	TestLTNode();
	return 0;
}